次の方法で共有


SqlSmoObject.GetChildType メソッド

子要素の型を取得します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
Public Shared Function GetChildType ( _
    objectName As String, _
    parentName As String _
) As Type
'使用
Dim objectName As String 
Dim parentName As String 
Dim returnValue As Type 

returnValue = SqlSmoObject.GetChildType(objectName, _
    parentName)
public static Type GetChildType(
    string objectName,
    string parentName
)
public:
static Type^ GetChildType(
    String^ objectName, 
    String^ parentName
)
static member GetChildType : 
        objectName:string * 
        parentName:string -> Type
public static function GetChildType(
    objectName : String, 
    parentName : String
) : Type

パラメーター

  • objectName
    型: System.String
    取得するオブジェクトの名前を表す文字列値です。
  • parentName
    型: System.String
    親オブジェクトの名前を示す文字列値です。

戻り値

型: System.Type
Type オブジェクトです。

関連項目

参照

SqlSmoObject クラス

Microsoft.SqlServer.Management.Smo 名前空間