Share via


SqlAssemblyFile.Parent Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As SqlAssembly 
    Get 
    Set
'Usage
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)

Property Value

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

Examples

Setting Properties

See Also

Reference

SqlAssemblyFile Class

Microsoft.SqlServer.Management.Smo Namespace