MasterKey Constructor (Database)

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

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

Syntax

'Declaration
Public Sub New ( _
    parent As Database _
)
'Usage
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
)

Parameters

Examples

Calling Methods