SqlSmoObject.GetChildType Method (String, String)
Applies To: SQL Server 2016 Preview
Gets the type of a child element.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
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 Shared Function GetChildType (
objectName As String,
parentName As String
) As Type
Parameters
objectName
Type: System.StringA string value that specifies the name of the object to get.
parentName
Type: System.StringA string value that specifies the name of the parent object.
Return Value
Type: System.Type
A Type object.
See Also
SqlSmoObject Class
Microsoft.SqlServer.Management.Smo Namespace
Return to top