次の方法で共有


SqlSmoObject.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 は明示的なインターフェイス実装の使用をサポートしていますが、新規の宣言はサポートしていません。

パラメーター

  • propertyName
    型: System.String
    プロパティの名前です。
  • propertyType
    型: System.Type
    プロパティの型です。

戻り値

型: System.Object
プロパティの値を表す Object です。

実装

IAlienObject.GetPropertyValue(String, Type)

関連項目

参照

SqlSmoObject クラス

Microsoft.SqlServer.Management.Smo 名前空間