SqlAuthenticationToken(String, DateTimeOffset) Oluşturucu

Tanım

Tüm özellikler için değerlerle oluşturma.

public:
 SqlAuthenticationToken(System::String ^ accessToken, DateTimeOffset expiresOn);
public SqlAuthenticationToken(string accessToken, DateTimeOffset expiresOn);
new Microsoft.Data.SqlClient.SqlAuthenticationToken : string * DateTimeOffset -> Microsoft.Data.SqlClient.SqlAuthenticationToken
Public Sub New (accessToken As String, expiresOn As DateTimeOffset)

Parametreler

accessToken
String

Belirteç dizesi.

expiresOn
DateTimeOffset

Belirteç süre sonu süresi.

Özel durumlar

Parametre accessTokennull veya boş.

Şunlara uygulanır