ISfcPropertySet.TryGetProperty 메서드
Attempts to get the property metadata. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
네임스페이스: Microsoft.SqlServer.Management.Sdk.Sfc
어셈블리: Microsoft.SqlServer.Management.Sdk.Sfc(Microsoft.SqlServer.Management.Sdk.Sfc.dll)
구문
‘선언
Function TryGetProperty ( _
name As String, _
<OutAttribute> ByRef property As ISfcProperty _
) As Boolean
‘사용 방법
Dim instance As ISfcPropertySet
Dim name As String
Dim property As ISfcProperty
Dim returnValue As Boolean
returnValue = instance.TryGetProperty(name, _
property)
bool TryGetProperty(
string name,
out ISfcProperty property
)
bool TryGetProperty(
String^ name,
[OutAttribute] ISfcProperty^% property
)
abstract TryGetProperty :
name:string *
property:ISfcProperty byref -> bool
function TryGetProperty(
name : String,
property : ISfcProperty
) : boolean
매개 변수
- name
유형: System.String
The name of the property.
- property
유형: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcProperty%
An ISfcProperty object that represents property metadata.
반환 값
유형: System.Boolean
true if the property metadata is successfully retrieved; otherwise, false.