Delen via


SfcCollection<T, K, ParentT>.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
Private Function GetElementFactory As SfcObjectFactory 
    Implements ISfcCollection.GetElementFactory
'Usage
Dim instance As SfcCollection 
Dim returnValue As SfcObjectFactory 

returnValue = CType(instance, ISfcCollection).GetElementFactory()
SfcObjectFactory ISfcCollection.GetElementFactory()
private:
virtual SfcObjectFactory^ GetElementFactory() sealed = ISfcCollection::GetElementFactory
private abstract GetElementFactory : unit -> SfcObjectFactory  
private override GetElementFactory : unit -> SfcObjectFactory
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Return Value

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

Implements

ISfcCollection.GetElementFactory()

See Also

Reference

SfcCollection<T, K, ParentT> Class

Microsoft.SqlServer.Management.Sdk.Sfc Namespace