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.