共用方式為


ServiceMasterKey.Parent 屬性

Gets the Server object that is the parent of the ServiceMasterKey object.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public ReadOnly Property Parent As Server 
    Get
'用途
Dim instance As ServiceMasterKey 
Dim value As Server 

value = instance.Parent
[SfcObjectAttribute(SfcObjectRelationship.ParentObject)]
public Server Parent { get; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject)]
public:
property Server^ Parent {
    Server^ get ();
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject)>]
member Parent : Server
function get Parent () : Server

屬性值

型別:Microsoft.SqlServer.Management.Smo.Server
A Server object that is the parent of the ServiceMasterKey object.

範例

使用加密

請參閱

參考

ServiceMasterKey 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

加密階層

ALTER SERVICE MASTER KEY (Transact-SQL)