Partilhar via


Método 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
Function GetExisting ( _
    key As SfcKey, _
    <OutAttribute> ByRef sfcInstance As SfcInstance _
) As Boolean
'Uso
Dim instance As ISfcCollection
Dim key As SfcKey
Dim sfcInstance As SfcInstance
Dim returnValue As Boolean

returnValue = instance.GetExisting(key, _
    sfcInstance)
bool GetExisting(
    SfcKey key,
    out SfcInstance sfcInstance
)
bool GetExisting(
    SfcKey^ key, 
    [OutAttribute] SfcInstance^% sfcInstance
)
abstract GetExisting : 
        key:SfcKey * 
        sfcInstance:SfcInstance byref -> bool 
function GetExisting(
    key : SfcKey, 
    sfcInstance : SfcInstance
) : boolean

Parâmetros

Valor de retorno

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