RegisteredServer.GetObjectFactory Method
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
Return Value
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectFactory
A SfcObjectFactory interface object value that represents object factory for the referenced object.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.