Computer.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 = Computer.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 = computer.GetObjectFactory();

VB

obFactory = computer.GetObjectFactory()

PowerShell

$obFactory = $computer.GetObjectFactory() 

참고 항목

참조

Computer 클래스

Microsoft.SqlServer.Management.Utility 네임스페이스