SqlSmoObject.GetChildType 메서드

Gets the type of a child element.

네임스페이스:  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
    A string value that specifies the name of the object to get.
  • parentName
    유형: System.String
    A string value that specifies the name of the parent object.

반환 값

유형: System.Type
A Type object.

참고 항목

참조

SqlSmoObject 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스