ManagedInstance.GetChildCollection 方法

Throws a UtilityException. There is no such collection.

命名空间:  Microsoft.SqlServer.Management.Utility
程序集:  Microsoft.SqlServer.Management.Utility(在 Microsoft.SqlServer.Management.Utility.dll 中)

语法

声明
Protected Overrides Function GetChildCollection ( _
    elementType As String _
) As ISfcCollection
用法
Dim elementType As String 
Dim returnValue As ISfcCollection 

returnValue = Me.GetChildCollection(elementType)
protected override ISfcCollection GetChildCollection(
    string elementType
)
protected:
virtual ISfcCollection^ GetChildCollection(
    String^ elementType
) override
abstract GetChildCollection : 
        elementType:string -> ISfcCollection  
override GetChildCollection : 
        elementType:string -> ISfcCollection
protected override function GetChildCollection(
    elementType : String
) : ISfcCollection

参数

  • elementType
    类型:System.String
    A string value that specifies the element type.

返回值

类型:Microsoft.SqlServer.Management.Sdk.Sfc.ISfcCollection
A UtilityException object.

请参阅

参考

ManagedInstance 类

Microsoft.SqlServer.Management.Utility 命名空间