SqlAuthenticationToken(String, DateTimeOffset) 생성자

정의

SqlAuthenticationToken 클래스의 새 인스턴스를 초기화합니다.

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)

매개 변수

accessToken
String

액세스 토큰입니다.

expiresOn
DateTimeOffset

토큰 만료 시간입니다.

예외

accessToken 매개 변수가 null 비어 있거나 비어 있습니다.

적용 대상