SqlSmoObject.IAlienObject.GetPropertyValue 方法

Gets the value of the specified property.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 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, _
    propertyType)
Object IAlienObject.GetPropertyValue(
    string propertyName,
    Type propertyType
)
private:
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 支持使用显式接口实现,但不支持声明新显式接口实现。

参数

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

返回值

类型:System.Object
A Object which represents the value of the property.

实现

IAlienObject.GetPropertyValue(String, Type)

请参阅

参考

SqlSmoObject 类

Microsoft.SqlServer.Management.Smo 命名空间