. 方法
命名空间: 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 支持使用显式接口实现,但不支持声明新显式接口实现。
返回值
实现
ISfcPropertySetTryGetProperty(String, ISfcProperty%)