Condividi tramite


Metodo AsymmetricKey.Create (String, AsymmetricKeySourceType)

Creates an asymmetric key on the instance of SQL Server by loading the asymmetric key from the specified source.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Sub Create ( _
    keySource As String, _
    sourceType As AsymmetricKeySourceType _
)
'Utilizzo
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
)

Parametri

  • keySource
    Tipo: System.String
    A String value that specifies the source from which to load the asymmetric key.

Esempi

Chiamata di metodi

Vedere anche

Riferimento

AsymmetricKey Classe

Overload Create

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

CREATE ASYMMETRIC KEY (Transact-SQL)