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
)
參數
- parent
型別:Microsoft.SqlServer.Management.Smo.Database
A Database object value that specifies the database to which the master key belongs.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間