Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Creates an asymmetric key on the instance of SQL Server by loading the asymmetric key from the specified source.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub Create ( _
keySource As String, _
sourceType As AsymmetricKeySourceType _
)
'Utilisation
Dim instance As AsymmetricKey
Dim keySource As String
Dim sourceType As AsymmetricKeySourceType
instance.Create(keySource, sourceType)
public void Create(
string keySource,
AsymmetricKeySourceType sourceType
)
public:
void Create(
String^ keySource,
AsymmetricKeySourceType sourceType
)
member Create :
keySource:string *
sourceType:AsymmetricKeySourceType -> unit
public function Create(
keySource : String,
sourceType : AsymmetricKeySourceType
)
Paramètres
- keySource
Type : System.String
A String value that specifies the source from which to load the asymmetric key.
- sourceType
Type : Microsoft.SqlServer.Management.Smo.AsymmetricKeySourceType
An AsymmetricKeySourceType object value that specifies the type of source from which to load the asymmetric key.
Exemples
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo