Compartilhar via


Método ISfcCollection.GetExisting

Uses the specified key to retrieve an existing item from 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 GetExisting ( _
    key As SfcKey, _
    <OutAttribute> ByRef sfcInstance As SfcInstance _
) As Boolean Implements ISfcCollection.GetExisting
'Uso
Dim instance As SfcCollection
Dim key As SfcKey
Dim sfcInstance As SfcInstance
Dim returnValue As Boolean

returnValue = CType(instance, ISfcCollection).GetExisting(key, _
    sfcInstance)
bool ISfcCollection.GetExisting(
    SfcKey key,
    out SfcInstance sfcInstance
)
private:
virtual bool GetExisting(
    SfcKey^ key, 
    [OutAttribute] SfcInstance^% sfcInstance
) sealed = ISfcCollection::GetExisting
private abstract GetExisting : 
        key:SfcKey * 
        sfcInstance:SfcInstance byref -> bool 
private override GetExisting : 
        key:SfcKey * 
        sfcInstance:SfcInstance byref -> bool 
JScript dá suporte ao uso de implementações de interfaces explícitas, mas não a declarações de implementações novas.

Parâmetros

Valor de retorno

Tipo: System. . :: . .Boolean
true if the item is successfully retrieved; otherwise, false.

Implementa

ISfcCollection. . :: . .GetExisting(SfcKey, SfcInstance%)