共用方式為


GetObjectFactory 方法

Gets the object factory that is used to create the object.

命名空間:  Microsoft.SqlServer.Management.Dac
組件:  Microsoft.SqlServer.Management.Dac (在 Microsoft.SqlServer.Management.Dac.dll 中)

語法

'宣告
Public Shared Function GetObjectFactory As SfcObjectFactory
'用途
Dim returnValue As SfcObjectFactory

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

傳回值

型別:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcObjectFactory
A [Microsoft.SqlServer.Management.Sdk.Sfc.ISfcObjectFactory] value that specifies the object factory used to create the object.