Метод 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