ISfcCollection.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
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 admite el uso de implementaciones de interfaces explícitas, pero no la declaración de otras nuevas.
Parámetros
- key
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcKey
The key that identifies the item to get.
- sfcInstance
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcInstance%
An SfcInstance item that represents the item to get.
Valor devuelto
Tipo: System. . :: . .Boolean
true if the item is successfully retrieved; otherwise, false.