Compartir a través de


UserDefinedType.AssemblyName Propiedad

Gets or sets the name of the .NET assembly that is required by the referenced alias data type.

Esta API no es compatible con CLS. 

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcReferenceAttribute(GetType(SqlAssembly), "Server[@Name = '{0}']/Database[@Name = '{1}']/SqlAssembly[@Name = '{2}']",  _
    )> _
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
<CLSCompliantAttribute(False)> _
Public Property AssemblyName As String 
    Get 
    Set
'Uso
Dim instance As UserDefinedType 
Dim value As String 

value = instance.AssemblyName

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

Valor de la propiedad

Tipo: System.String
A String value that specifies the name of the assembly that is required by the referenced alias data type.

Ejemplos

Trabajar con tipos de datos

Vea también

Referencia

UserDefinedType Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

Trabajar con tipos definidos por el usuario para CLR

CREATE TYPE (Transact-SQL)