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.