Dela via


IAlienObject.GetPropertyValue Method

Gets the value of the specified property.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Function GetPropertyValue ( _
    propertyName As String, _
    propertyType As Type _
) As Object
'Usage
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

Parameters

  • propertyType
    Type: System.Type
    The type of the property.

Return Value

Type: System.Object
An object that represents the property value.