不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
命名空间: Microsoft.SqlServer.Management.Sdk.Sfc
程序集: Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
语法
声明
Public Function TryGetPropertyValue ( _
propertyName As String, _
<OutAttribute> ByRef value As Object _
) As Boolean
用法
Dim instance As SfcPropertyCollection
Dim propertyName As String
Dim value As Object
Dim returnValue As Boolean
returnValue = instance.TryGetPropertyValue(propertyName, _
value)
public bool TryGetPropertyValue(
string propertyName,
out Object value
)
public:
virtual bool TryGetPropertyValue(
String^ propertyName,
[OutAttribute] Object^% value
) sealed
abstract TryGetPropertyValue :
propertyName:string *
value:Object byref -> bool
override TryGetPropertyValue :
propertyName:string *
value:Object byref -> bool
public final function TryGetPropertyValue(
propertyName : String,
value : Object
) : boolean
参数
- propertyName
类型:System.String
A string that represents the property name.
- value
类型:System.Object%
The value of the object.
返回值
类型:System.Boolean
true if the Property tries to get the property value; otherwise, false.
实现
ISfcPropertySet.TryGetPropertyValue(String, Object%)