ISfcCollection.GetExisting 方法

Uses the specified key to retrieve an existing item from the collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
Private Function GetExisting ( _
    key As SfcKey, _
    <OutAttribute> ByRef sfcInstance As SfcInstance _
) As Boolean Implements ISfcCollection.GetExisting
用法
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 支持使用显式接口实现,但不支持声明新显式接口实现。

参数

返回值

类型:System. . :: . .Boolean
true if the item is successfully retrieved; otherwise, false.

实现

ISfcCollection. . :: . .GetExisting(SfcKey, SfcInstance%)