Метод SfcPropertyCollection.TryGetProperty
Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server.
Пространство имен: Microsoft.SqlServer.Management.Sdk.Sfc
Сборка: Microsoft.SqlServer.Management.Sdk.Sfc (в Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Синтаксис
'Декларация
Public Function TryGetProperty ( _
propertyName As String, _
<OutAttribute> ByRef property As ISfcProperty _
) As Boolean
'Применение
Dim instance As SfcPropertyCollection
Dim propertyName As String
Dim property As ISfcProperty
Dim returnValue As Boolean
returnValue = instance.TryGetProperty(propertyName, _
property)
public bool TryGetProperty(
string propertyName,
out ISfcProperty property
)
public:
virtual bool TryGetProperty(
String^ propertyName,
[OutAttribute] ISfcProperty^% property
) sealed
abstract TryGetProperty :
propertyName:string *
property:ISfcProperty byref -> bool
override TryGetProperty :
propertyName:string *
property:ISfcProperty byref -> bool
public final function TryGetProperty(
propertyName : String,
property : ISfcProperty
) : boolean
Параметры
- propertyName
Тип: System.String
A string that represents the property name.
- property
Тип: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcProperty%
The SfcProperty in the collection.
Возвращаемое значение
Тип: System.Boolean
true if property tries to get its specified property; otherwise, false.
Реализует
ISfcPropertySet.TryGetProperty(String, ISfcProperty%)