Méthode GetExisting
Uses the specified key to retrieve an existing item from the collection. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntaxe
'Déclaration
Function GetExisting ( _
key As SfcKey, _
<OutAttribute> ByRef sfcInstance As SfcInstance _
) As Boolean
'Utilisation
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
Paramètres
- key
Type : Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcKey
The key that identifies the item to get.
- sfcInstance
Type : Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcInstance%
An SfcInstance item that represents the item to get.
Valeur de retour
Type : System. . :: . .Boolean
true if the item is successfully retrieved from the collection; otherwise, false.