NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IServiceObjectProvider.GetServiceObject

Gets the service object of the specified type.

[Visual Basic]
Function GetServiceObject( _
   ByVal service As Type _
) As Object
[C#]
object GetServiceObject(
   Type service
);
[C++]
Object* GetServiceObject(
   Type* service
) = 0;
[JScript]
function GetServiceObject(
   service : Type
) : Object;

Parameters

service
The Type object that specifies the service object to get.

Return Value

The requested service object; if the service object is not available, null is returned.

See Also

IServiceObjectProvider Interface | IServiceObjectProvider Members | System Namespace