Construtor OrderBy (String, OrderBy.Direction)
Intializes a new instance of the OrderBy object. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (em Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxe
'Declaração
Public Sub New ( _
field As String, _
dir As OrderBy.Direction _
)
'Uso
Dim field As String
Dim dir As OrderBy.Direction
Dim instance As New OrderBy(field, dir)
public OrderBy(
string field,
OrderBy.Direction dir
)
public:
OrderBy(
String^ field,
OrderBy.Direction dir
)
new :
field:string *
dir:OrderBy.Direction -> OrderBy
public function OrderBy(
field : String,
dir : OrderBy.Direction
)
Parâmetros
- field
Tipo: System.String
A string value that specifies the field by which to order results of a query.
- dir
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.OrderBy.Direction
A OrderBy.Direction object that indicates the direction, ascending or descending order of results.