다음을 통해 공유


GetObjectFactory 메서드

Gets the factory object used to create new instances.

네임스페이스:  Microsoft.SqlServer.Management.Utility
어셈블리:  Microsoft.SqlServer.Management.Utility(Microsoft.SqlServer.Management.Utility.dll)

구문

‘선언
Public Shared Function GetObjectFactory As SfcObjectFactory
‘사용 방법
Dim returnValue As SfcObjectFactory

returnValue = Volume.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 SfcObjectFactory object that is used to create new instances.

VC#

obFactory = volume.GetObjectFactory();

VB

obFactory = volume.GetObjectFactory()

PowerShell

$obFactory = $volume.GetObjectFactory()