Microsoft Chat Server SDK Reference

Instance Property

This property returns a reference to the extension running on the server.

Syntax

Set Instance = ChatExtension.Instance

Parameters

Instance
A variant containing the IDispatch interface of the extension running on the server.

Remarks

Query the IDispatch interface returned by Instance using the IID assigned to your extension to get the interface to the actual extension running on the server.

The following Visual Basic example demonstrates how to retrieve your extension interface from the ChatServer object.

Dim myExt As CHATSVCLib.IChatExtensionCallback ' Or custom interface, if defined
Set myExt = ChatSvc.Configuration.ChatExtensions("MyExtension").Instance

© 1998 Microsoft Corporation. All rights reserved.