Share via


Volume.GetObjectFactory Method

Definition

Gets the factory object used to create new instances.

public:
 static Microsoft::SqlServer::Management::Sdk::Sfc::SfcObjectFactory ^ GetObjectFactory();
public static Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectFactory GetObjectFactory ();
static member GetObjectFactory : unit -> Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectFactory
Public Shared Function GetObjectFactory () As SfcObjectFactory

Returns

A SfcObjectFactory object that is used to create new instances.

Examples

VC#

obFactory = volume.GetObjectFactory();  

VB

obFactory = volume.GetObjectFactory()  

PowerShell

$obFactory = $volume.GetObjectFactory()   

Applies to