GetProperty 方法

不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
Public Overridable Function GetProperty ( _
    reference As Object, _
    propertyName As String _
) As Object
用法
Dim instance As SimpleNodeAdapter
Dim reference As Object
Dim propertyName As String
Dim returnValue As Object

returnValue = instance.GetProperty(reference, _
    propertyName)
public virtual Object GetProperty(
    Object reference,
    string propertyName
)
public:
virtual Object^ GetProperty(
    Object^ reference, 
    String^ propertyName
)
abstract GetProperty : 
        reference:Object * 
        propertyName:string -> Object 
override GetProperty : 
        reference:Object * 
        propertyName:string -> Object 
public function GetProperty(
    reference : Object, 
    propertyName : String
) : Object

参数

返回值

类型:System. . :: . .Object
The named property of the specified object.