共用方式為


SqlAssemblyFile.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.

範例

設定屬性

請參閱

參考

SqlAssemblyFile 類別

Microsoft.SqlServer.Management.Smo 命名空間