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%)