Compartir a través de


GetExisting Método

Uses the specified key to retrieve an existing item from the collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.

Espacio de nombres:  Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado:  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxis

'Declaración
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 devuelto

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