Freigeben über


GetObjectFactory-Methode

Returns the SFC object factory for the RegisteredServer 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 = RegisteredServer.GetObjectFactory()
public static SfcObjectFactory GetObjectFactory()
public:
static SfcObjectFactory^ GetObjectFactory()
static member GetObjectFactory : unit -> SfcObjectFactory 
public static function GetObjectFactory() : SfcObjectFactory

Rückgabewert

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

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.