ISfcPropertySet.TryGetProperty 메서드
Tries to get the property specified by the name parameter and type specified by the property parameter.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Private Function TryGetProperty ( _
name As String, _
<OutAttribute> ByRef property As ISfcProperty _
) As Boolean Implements ISfcPropertySet.TryGetProperty
‘사용 방법
Dim instance As PropertyCollection
Dim name As String
Dim property As ISfcProperty
Dim returnValue As Boolean
returnValue = CType(instance, ISfcPropertySet).TryGetProperty(name, _
property)
bool ISfcPropertySet.TryGetProperty(
string name,
out ISfcProperty property
)
private:
virtual bool TryGetProperty(
String^ name,
[OutAttribute] ISfcProperty^% property
) sealed = ISfcPropertySet::TryGetProperty
private abstract TryGetProperty :
name:string *
property:ISfcProperty byref -> bool
private override TryGetProperty :
name:string *
property:ISfcProperty byref -> bool
JScript는 명시적 인터페이스 구현의 사용을 지원하지만 새로운 명시적 인터페이스 구현의 선언은 지원하지 않습니다.
매개 변수
- name
유형: System. . :: . .String
A string value that specifies the name of the property.
- property
유형: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .ISfcProperty%
A pointer to an ISfcProperty object.
반환 값
유형: System. . :: . .Boolean
A Boolean value, True if the collection contains the property, otherwise False.
구현
ISfcPropertySet. . :: . .TryGetProperty(String, ISfcProperty%)