SqlAuthenticationToken(String, DateTimeOffset) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the SqlAuthenticationToken class.
public:
SqlAuthenticationToken(System::String ^ accessToken, DateTimeOffset expiresOn);
public SqlAuthenticationToken (string accessToken, DateTimeOffset expiresOn);
new System.Data.SqlClient.SqlAuthenticationToken : string * DateTimeOffset -> System.Data.SqlClient.SqlAuthenticationToken
Public Sub New (accessToken As String, expiresOn As DateTimeOffset)
Parameters
- accessToken
- String
The access token.
- expiresOn
- DateTimeOffset
The token expiration time.
Exceptions
The accessToken
parameter is null
or empty.
Applies to
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.