Share via


ServerGroup.GetObjectFactory Method

Returns the SFC object factory for the ServerGroup object.

Namespace:  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntax

'Declaration
Public Shared Function GetObjectFactory As SfcObjectFactory
'Usage
Dim returnValue As SfcObjectFactory 

returnValue = ServerGroup.GetObjectFactory()
public static SfcObjectFactory GetObjectFactory()
public:
static SfcObjectFactory^ GetObjectFactory()
static member GetObjectFactory : unit -> SfcObjectFactory
public static function GetObjectFactory() : SfcObjectFactory

Return Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectFactory
An SfcObjectFactory interface object value that represents the object factory for the referenced object.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

See Also

Reference

ServerGroup Class

Microsoft.SqlServer.Management.RegisteredServers Namespace