MasterKey 构造函数 (Database)

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub New ( _
    parent As Database _
)
用法
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
)

参数

示例

调用方法

请参阅

参考

MasterKey 类

MasterKey 重载

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

加密层次结构

CREATE MASTER KEY (Transact-SQL)