Freigeben über


SqlSmoObject.GetChildType-Methode

Gets the type of a child element.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Shared Function GetChildType ( _
    objectName As String, _
    parentName As String _
) As Type
'Usage
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

Parameter

  • objectName
    Typ: System.String
    A string value that specifies the name of the object to get.
  • parentName
    Typ: System.String
    A string value that specifies the name of the parent object.

Rückgabewert

Typ: System.Type
A Type object.

Siehe auch

Verweis

SqlSmoObject Klasse

Microsoft.SqlServer.Management.Smo-Namespace