Parent 属性

Gets or sets the SqlAssembly object that is the parent of the SqlAssemblyFile object.

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

语法

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

value = instance.Parent

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

属性值

类型:Microsoft.SqlServer.Management.Smo. . :: . .SqlAssembly
A SqlAssembly object that is the parent of the SqlAssemblyFile object.

示例

设置属性