Observação
O acesso a essa página exige autorização. Você pode tentar entrar ou alterar diretórios.
O acesso a essa página exige autorização. Você pode tentar alterar os diretórios.
Creates an asymmetric key on the instance of SQL Server by loading the specified asymmetric key and by using the specified password.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Sub Create ( _
keySource As String, _
sourceType As AsymmetricKeySourceType, _
password As String _
)
'Uso
Dim instance As AsymmetricKey
Dim keySource As String
Dim sourceType As AsymmetricKeySourceType
Dim password As String
instance.Create(keySource, sourceType, _
password)
public void Create(
string keySource,
AsymmetricKeySourceType sourceType,
string password
)
public:
void Create(
String^ keySource,
AsymmetricKeySourceType sourceType,
String^ password
)
member Create :
keySource:string *
sourceType:AsymmetricKeySourceType *
password:string -> unit
public function Create(
keySource : String,
sourceType : AsymmetricKeySourceType,
password : String
)
Parâmetros
- keySource
Tipo: System.String
A String value that specifies the source from which to load the asymmetric key.
- sourceType
Tipo: Microsoft.SqlServer.Management.Smo.AsymmetricKeySourceType
An AsymmetricKeySourceType object value that specifies the type of source from which to load the asymmetric key.
- password
Tipo: System.String
A String value that specifies the password with which the key is encrypted.
Exemplos
Consulte também
Referência
Namespace Microsoft.SqlServer.Management.Smo