AsymmetricKeyCollection.Add Method
Adds a new Asymmetric Key to a database.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Add ( _
asymmetricKey As AsymmetricKey _
)
'Usage
Dim instance As AsymmetricKeyCollection
Dim asymmetricKey As AsymmetricKey
instance.Add(asymmetricKey)
public void Add(
AsymmetricKey asymmetricKey
)
public:
void Add(
AsymmetricKey^ asymmetricKey
)
member Add :
asymmetricKey:AsymmetricKey -> unit
public function Add(
asymmetricKey : AsymmetricKey
)
Parameters
- asymmetricKey
Type: Microsoft.SqlServer.Management.Smo.AsymmetricKey
The AsymmetricKey object represents a SQL Server asymmetric key.