Compartir a través de


AsymmetricKey Constructor (Database, String)

Initializes a new instance of the AsymmetricKey class on the specified database and with the specified name.

Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
Public Sub New ( _
    database As Database, _
    name As String _
)
public AsymmetricKey (
    Database database,
    string name
)
public:
AsymmetricKey (
    Database^ database, 
    String^ name
)
public AsymmetricKey (
    Database database, 
    String name
)
public function AsymmetricKey (
    database : Database, 
    name : String
)

Parámetros

  • database
    A Database object value that specifies the database to which the asymmetric key belongs.
  • name
    A String value that specifies the name of the asymmetric key.

Notas

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Ejemplo

How to: Construct an Object in Visual Basic .NET

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

AsymmetricKey Class
AsymmetricKey Members
Microsoft.SqlServer.Management.Smo Namespace

Otros recursos

CREATE ASYMMETRIC KEY (Transact-SQL)