Constructeur OrderBy (String, OrderBy.Direction)
Intializes a new instance of the OrderBy object. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntaxe
'Déclaration
Public Sub New ( _
field As String, _
dir As OrderBy..::..Direction _
)
'Utilisation
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
)
Paramètres
- field
Type : System. . :: . .String
A string value that specifies the field by which to order results of a query.
- dir
Type : Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .OrderBy. . :: . .Direction
A OrderBy..::..Direction object that indicates the direction, ascending or descending order of results.
Voir aussi