WindowsCredential.GetSqlRegSvrCredential Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
| Nome | Description |
|---|---|
| GetSqlRegSvrCredential(String, Int32, String, Guid) | |
| GetSqlRegSvrCredential(String, Int32, String, Guid, String) |
Retorna a senha de Windows Gerenciador de Credenciais para o RegSvr especificado. Atualmente, usado apenas pela interface do usuário do SqlRepl, não deve ser confundido com servidores registrados do SSMS. |
GetSqlRegSvrCredential(String, Int32, String, Guid)
public static System.Security.SecureString GetSqlRegSvrCredential(string instance, int authType, string user, Guid serverType);
static member GetSqlRegSvrCredential : string * int * string * Guid -> System.Security.SecureString
Public Shared Function GetSqlRegSvrCredential (instance As String, authType As Integer, user As String, serverType As Guid) As SecureString
Parâmetros
- instance
- String
- authType
- Int32
- user
- String
- serverType
- Guid
Retornos
Aplica-se a
GetSqlRegSvrCredential(String, Int32, String, Guid, String)
Retorna a senha de Windows Gerenciador de Credenciais para o RegSvr especificado. Atualmente, usado apenas pela interface do usuário do SqlRepl, não deve ser confundido com servidores registrados do SSMS.
public static System.Security.SecureString GetSqlRegSvrCredential(string instance, int authType, string user, Guid serverType, string version);
static member GetSqlRegSvrCredential : string * int * string * Guid * string -> System.Security.SecureString
Public Shared Function GetSqlRegSvrCredential (instance As String, authType As Integer, user As String, serverType As Guid, version As String) As SecureString
Parâmetros
- instance
- String
O nome do servidor
- authType
- Int32
O tipo de autenticação usado pela conexão. O significado do valor depende do serverType
- user
- String
O nome de usuário
- serverType
- Guid
O tipo de conexão de servidor. Os valores válidos dependem do aplicativo.
- version
- String
O identificador de versão do aplicativo de chamada