IMessengerGroup::Service property
[Service is no longer available for use as of Windows Vista. See Windows Messenger for more information.]
Retrieves the service object from the group.
This property is read-only.
Syntax
HRESULT get_Service(
[out, retval] IDispatch **pService
);
Property value
Address of a pointer to an IDispatch on a MessengerService object.
Error codes
Returns one of the following values.
Name | Meaning |
---|---|
|
Success. |
|
pService is a NULL pointer. |
Remarks
This property returns no error codes.
Note
This property is available for scripting languages.
Examples
The following Visual Basic example shows the use of this method.
Public WithEvents MsgrUIA As MessengerAPI.Messenger
Public MsgrGroup As MessengerAPI.IMessengerGroup
Public MsgrService As MessengerAPI.IMessengerService
Private Sub btnGroupService_Click()
On Error Resume Next
Set MsgrService = Nothing
Set MsgrService = MsgrGroup.Service
ErrorTrap ("IMessengerGroup.Service")
End Sub
Requirements
End of client support |
Windows XP |
End of server support |
Windows Server 2003 |
Header |
|
IDL |
|
DLL |
|