Freigeben über


AsymmetricKey Constructor (Database, String)

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

Namespace: Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Declaration
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
)

Parameter

  • 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.

Hinweise

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

Beispiel

How to: Construct an Object in Visual Basic .NET

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

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

Andere Ressourcen

CREATE ASYMMETRIC KEY (Transact-SQL)