Share via


Propriété AssemblyName

Obtient ou définit le nom de l'assembly de la fonction définie par l'utilisateur.

Cette API n'est pas conforme CLS. 

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcReferenceAttribute(GetType(SqlAssembly), "Server[@Name = '{0}']/Database[@Name = '{1}']/SqlAssembly[@Name = '{2}']",  _
    )> _
<CLSCompliantAttribute(False)> _
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Design)> _
Public Property AssemblyName As String
    Get
    Set
'Utilisation
Dim instance As UserDefinedFunction
Dim value As String

value = instance.AssemblyName

instance.AssemblyName = value
[SfcReferenceAttribute(typeof(SqlAssembly), "Server[@Name = '{0}']/Database[@Name = '{1}']/SqlAssembly[@Name = '{2}']", 
    )]
[CLSCompliantAttribute(false)]
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.Design)]
public string AssemblyName { get; set; }
[SfcReferenceAttribute(typeof(SqlAssembly), L"Server[@Name = '{0}']/Database[@Name = '{1}']/SqlAssembly[@Name = '{2}']", 
    )]
[CLSCompliantAttribute(false)]
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::Design)]
public:
property String^ AssemblyName {
    String^ get ();
    void set (String^ value);
}
[<SfcReferenceAttribute(typeof(SqlAssembly), "Server[@Name = '{0}']/Database[@Name = '{1}']/SqlAssembly[@Name = '{2}']", 
    )>]
[<CLSCompliantAttribute(false)>]
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.Design)>]
member AssemblyName : string with get, set
function get AssemblyName () : String
function set AssemblyName (value : String)

Valeur de propriété

Type : System. . :: . .String
Valeur String qui spécifie l'assembly de la fonction définie par l'utilisateur.