GetData 方法 (Object, Urn, String[], OrderBy[])
Retrieves the specified data. 不要直接在程式碼中參照此成員。其支援 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(), _
orderBy As OrderBy() _
) As EnumResult
'用途
Dim connectionInfo As Object
Dim urn As Urn
Dim requestedFields As String()
Dim orderBy As OrderBy()
Dim returnValue As EnumResult
returnValue = Enumerator.GetData(connectionInfo, _
urn, requestedFields, orderBy)
public static EnumResult GetData(
Object connectionInfo,
Urn urn,
string[] requestedFields,
OrderBy[] orderBy
)
public:
static EnumResult^ GetData(
Object^ connectionInfo,
Urn^ urn,
array<String^>^ requestedFields,
array<OrderBy^>^ orderBy
)
static member GetData :
connectionInfo:Object *
urn:Urn *
requestedFields:string[] *
orderBy:OrderBy[] -> EnumResult
public static function GetData(
connectionInfo : Object,
urn : Urn,
requestedFields : String[],
orderBy : OrderBy[]
) : 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.
- orderBy
型別:array<Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .OrderBy> [] () [] []
The order by a particular field in the specified order.
傳回值
型別:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .EnumResult
The result of the requested field in no particular order.