IAlienObject.GetPropertyValue 方法

获取指定属性的值。

命名空间:  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 支持使用显式接口实现,但不支持声明新显式接口实现。

参数

返回值

类型:System. . :: . .Object
一个表示属性值的 Object

实现

IAlienObject. . :: . .GetPropertyValue(String, Type)