GetData-Methode (Object, Urn, String[], OrderBy[])
Retrieves the specified data. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Public Shared Function GetData ( _
connectionInfo As Object, _
urn As Urn, _
requestedFields As String(), _
orderBy As OrderBy() _
) As EnumResult
'Usage
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
Parameter
- connectionInfo
Typ: System. . :: . .Object
An object that represents the connection.
- urn
Typ: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .Urn
The xpath expression.
- requestedFields
Typ: array<System. . :: . .String> [] () [] []
The list of requested fields.
- orderBy
Typ: array<Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .OrderBy> [] () [] []
The order by a particular field in the specified order.
Rückgabewert
Typ: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .EnumResult
The result of the requested field in no particular order.
Siehe auch