SqlUserDefinedAggregateAttribute クラスとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > SqlUserDefinedAggregateAttribute クラスの意味・解説 

SqlUserDefinedAggregateAttribute クラス

メモ : このクラスは、.NET Framework version 2.0新しく追加されたものです。

型をユーザー定義集計として登録する必要があることを示します。この属性には、型を SQL Server登録する際に使用される物理的な属性反映したいくつかのプロパティ格納されます。このクラス継承できません。

名前空間: Microsoft.SqlServer.Server
アセンブリ: System.Data (system.data.dll 内)
構文構文

<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Struct,
 AllowMultiple:=False, Inherited:=False)> _
Public NotInheritable Class
 SqlUserDefinedAggregateAttribute
    Inherits Attribute
Dim instance As SqlUserDefinedAggregateAttribute
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Struct, AllowMultiple=false,
 Inherited=false)] 
public sealed class SqlUserDefinedAggregateAttribute
 : Attribute
[AttributeUsageAttribute(AttributeTargets::Class|AttributeTargets::Struct, AllowMultiple=false,
 Inherited=false)] 
public ref class SqlUserDefinedAggregateAttribute
 sealed : public Attribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Struct,
 AllowMultiple=false, Inherited=false) */
 
public final class SqlUserDefinedAggregateAttribute
 extends Attribute
AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Struct, AllowMultiple=false,
 Inherited=false) 
public final class SqlUserDefinedAggregateAttribute
 extends Attribute
解説解説
使用例使用例

ユーザー定義集計の SqlUserDefinedAggregateAttribute 属性の例を次に示します。この集計は、カスタムシリアル化使用してシリアル化するときの最大サイズを 8,000 バイト指定しnull重複、および順序に対して不変です。

Imports System
Imports System.Data
Imports System.IO
Imports Microsoft.SqlServer.Server

<Serializable(), SqlUserDefinedAggregate(Microsoft.SqlServer.Server.Format.UserDefined,
 _ 
                                         IsInvariantToNulls:=True, _ 
                                         IsInvariantToDuplicates:=False, _
                                         IsInvariantToOrder:=False, _
                                         MaxByteSize:=8000)> _
Public Class Concatenate
    Implements Microsoft.SqlServer.Server.IBinarySerialize
using System;
using System.IO;
using System.Data.Sql;
using System.Data.SqlTypes;
using System.Text;
using Microsoft.SqlServer.Server;


[Serializable]
[Microsoft.SqlServer.Server.SqlUserDefinedAggregate(
   Microsoft.SqlServer.Server.Format.UserDefined, 
   IsInvariantToNulls = true,            
   IsInvariantToDuplicates = false,        
   IsInvariantToOrder = false,            
   MaxByteSize = 8000)                
        ]
public class Concatenate : Microsoft.SqlServer.Server.IBinarySerialize
{
継承階層継承階層
System.Object
   System.Attribute
    Microsoft.SqlServer.Server.SqlUserDefinedAggregateAttribute
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SqlUserDefinedAggregateAttribute メンバ
Microsoft.SqlServer.Server 名前空間



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「SqlUserDefinedAggregateAttribute クラス」の関連用語

SqlUserDefinedAggregateAttribute クラスのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



SqlUserDefinedAggregateAttribute クラスのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS