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.