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.