UserDefinedAggregate.AssemblyName 属性

Gets or sets the name of the assembly for the user-defined aggregate.

此 API 不符合 CLS。 

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

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

value = instance.AssemblyName

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

属性值

类型:System.String
A String value that specifies the assembly for the user-defined aggregate.

示例

设置属性

请参阅

参考

UserDefinedAggregate 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

Aggregate Showplan 运算符

CREATE AGGREGATE (Transact-SQL)