Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
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 поддерживает использование явных реализаций интерфейса, но не объявление новых.
Параметры
- 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; otherwise, false.
Реализует
ISfcCollection.GetExisting(SfcKey, SfcInstance%)