GetData 方法 (Object, Urn, String[])
Retrieves the specified data in the list. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
命名空間: Microsoft.SqlServer.Management.Sdk.Sfc
組件: Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
語法
'宣告
Public Shared Function GetData ( _
connectionInfo As Object, _
urn As Urn, _
requestedFields As String() _
) As EnumResult
'用途
Dim connectionInfo As Object
Dim urn As Urn
Dim requestedFields As String()
Dim returnValue As EnumResult
returnValue = Enumerator.GetData(connectionInfo, _
urn, requestedFields)
public static EnumResult GetData(
Object connectionInfo,
Urn urn,
string[] requestedFields
)
public:
static EnumResult^ GetData(
Object^ connectionInfo,
Urn^ urn,
array<String^>^ requestedFields
)
static member GetData :
connectionInfo:Object *
urn:Urn *
requestedFields:string[] -> EnumResult
public static function GetData(
connectionInfo : Object,
urn : Urn,
requestedFields : String[]
) : EnumResult
參數
- connectionInfo
型別:System. . :: . .Object
An object that represents the connection.
- urn
型別:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .Urn
The xpath expression.
- requestedFields
型別:array<System. . :: . .String> [] () [] []
The list of requested fields.
傳回值
型別:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .EnumResult
The result of the requested fields in no particular order.