Share via


ISfcCollection.GetElementFactory Method

Gets the factory that is used to instantiate objects for the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Function GetElementFactory As SfcObjectFactory
'Usage
Dim instance As ISfcCollection
Dim returnValue As SfcObjectFactory

returnValue = instance.GetElementFactory()
SfcObjectFactory GetElementFactory()
SfcObjectFactory^ GetElementFactory()
abstract GetElementFactory : unit -> SfcObjectFactory 
function GetElementFactory() : SfcObjectFactory

Return Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectFactory
The SfcObjectFactory object that is used to instantiate objects.