Compartilhar via


Método ISfcCollection.GetElementFactory

Gets the factory that is used to instantiate objects for the collection. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.

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

Sintaxe

'Declaração
Private Function GetElementFactory As SfcObjectFactory
    Implements ISfcCollection.GetElementFactory
'Uso
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 dá suporte ao uso de implementações de interfaces explícitas, mas não a declarações de implementações novas.

Valor de retorno

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

Implementa

ISfcCollection. . :: . .GetElementFactory() () () ()