SqlSmoObject.IAlienObject.GetPropertyValue Method

Gets the value of the specified property.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)


Private Function GetPropertyValue ( _
    propertyName As String, _
    propertyType As Type _
) As Object Implements IAlienObject.GetPropertyValue
Dim instance As SqlSmoObject
Dim propertyName As String
Dim propertyType As Type
Dim returnValue As Object

returnValue = CType(instance, IAlienObject).GetPropertyValue(propertyName, _
Object IAlienObject.GetPropertyValue(
    string propertyName,
    Type propertyType
virtual Object^ GetPropertyValue(
    String^ propertyName, 
    Type^ propertyType
) sealed = IAlienObject::GetPropertyValue
private abstract GetPropertyValue : 
        propertyName:string * 
        propertyType:Type -> Object 
private override GetPropertyValue : 
        propertyName:string * 
        propertyType:Type -> Object 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.


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

Return Value

Type: System.Object
A Object which represents the value of the property.


IAlienObject.GetPropertyValue(String, Type)