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 中)
語法
'宣告
Function GetExisting ( _
key As SfcKey, _
<OutAttribute> ByRef sfcInstance As SfcInstance _
) As Boolean
'用途
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
參數
- key
型別:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcKey
The key that identifies the item to get.
- sfcInstance
型別:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcInstance%
An SfcInstance item that represents the item to get.
傳回值
型別:System. . :: . .Boolean
true if the item is successfully retrieved from the collection; otherwise, false.