다음을 통해 공유


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

주의

Returns a SfcObjectFactory object that is used to create new instances.

VC#

obFactory = computer.GetObjectFactory();

VB

obFactory = computer.GetObjectFactory()

PowerShell

$obFactory = $computer.GetObjectFactory()