ISfcCollection.GetExisting-Methode
Uses the specified key to retrieve an existing item from the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Private Function GetExisting ( _
key As SfcKey, _
<OutAttribute> ByRef sfcInstance As SfcInstance _
) As Boolean Implements ISfcCollection.GetExisting
'Usage
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 unterstützt die Verwendung expliziter Schnittstellenimplementierungen, aber nicht die Deklaration neuer Schnittstellenimplementierungen.
Parameter
- key
Typ: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcKey
The key that identifies the item to get.
- sfcInstance
Typ: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcInstance%
An SfcInstance item that represents the item to get.
Rückgabewert
Typ: System. . :: . .Boolean
true if the item is successfully retrieved; otherwise, false.