Credential.Parent 属性

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

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

语法

声明
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As Server 
    Get 
    Set
用法
Dim instance As Credential 
Dim value As Server 

value = instance.Parent

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

属性值

类型:Microsoft.SqlServer.Management.Smo.Server
A Server object value that specifies the parent of the Credential object.

注释

The Parent property must be set before the Credential object is created.

示例

设置属性

请参阅

参考

Credential 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

CREATE CREDENTIAL (Transact-SQL)

凭据(数据库引擎)