不要直接在程式碼中參照此成員。其支援 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
參數
- reference
型別:System.Object
The reference of the provider.
- propertyName
型別:System.String
A String that specifies the name of the property.
傳回值
型別:System.Object
The named property of the specified object.