共用方式為


GetPropertyValue 方法

Gets the value of the specified property.

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Function GetPropertyValue ( _
    propertyName As String, _
    propertyType As Type _
) As Object
'用途
Dim instance As IAlienObject
Dim propertyName As String
Dim propertyType As Type
Dim returnValue As Object

returnValue = instance.GetPropertyValue(propertyName, _
    propertyType)
Object GetPropertyValue(
    string propertyName,
    Type propertyType
)
Object^ GetPropertyValue(
    String^ propertyName, 
    Type^ propertyType
)
abstract GetPropertyValue : 
        propertyName:string * 
        propertyType:Type -> Object 
function GetPropertyValue(
    propertyName : String, 
    propertyType : Type
) : Object

參數

傳回值

型別:System. . :: . .Object
An object that represents the property value.