Partilhar via


Construtor MasterKey (Database)

Initializes a new instance of the MasterKey class on the specified database.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Sub New ( _
    parent As Database _
)
'Uso
Dim parent As Database

Dim instance As New MasterKey(parent)
public MasterKey(
    Database parent
)
public:
MasterKey(
    Database^ parent
)
new : 
        parent:Database -> MasterKey
public function MasterKey(
    parent : Database
)