SqlAssembly.SqlAssemblyFiles Property

Represents a collection of SqlAssemblyFile objects. Each SqlAssemblyFile object represents an assembly file associated with the referenced assembly.

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

Syntax

'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(SqlAssemblyFile))> _
Public ReadOnly Property SqlAssemblyFiles As SqlAssemblyFileCollection 
    Get
'Usage
Dim instance As SqlAssembly 
Dim value As SqlAssemblyFileCollection 

value = instance.SqlAssemblyFiles
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(SqlAssemblyFile))]
public SqlAssemblyFileCollection SqlAssemblyFiles { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(SqlAssemblyFile))]
public:
property SqlAssemblyFileCollection^ SqlAssemblyFiles {
    SqlAssemblyFileCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(SqlAssemblyFile))>]
member SqlAssemblyFiles : SqlAssemblyFileCollection
function get SqlAssemblyFiles () : SqlAssemblyFileCollection

Property Value

Type: Microsoft.SqlServer.Management.Smo.SqlAssemblyFileCollection
A SqlAssemblyFileCollection that specifies all the assembly files associated with the referenced assembly.

Remarks

Currently, only one file per assembly is supported.

Examples

Setting Properties

See Also

Reference

SqlAssembly Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

CREATE ASSEMBLY (Transact-SQL)