次の方法で共有


PartitionFunction クラス

PartitionFunction オブジェクトを使用すると、プログラムでパーティション関数にアクセスできます。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<PhysicalFacetAttribute> _
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
Public NotInheritable Class PartitionFunction _
    Inherits ScriptNameObjectBase _
    Implements IDroppable, IAlterable, ICreatable, IScriptable,  _
    IExtendedProperties
'使用
Dim instance As PartitionFunction
[PhysicalFacetAttribute]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)]
public sealed class PartitionFunction : ScriptNameObjectBase, 
    IDroppable, IAlterable, ICreatable, IScriptable, IExtendedProperties
[PhysicalFacetAttribute]
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::CheckOnSchedule)]
public ref class PartitionFunction sealed : public ScriptNameObjectBase, 
    IDroppable, IAlterable, ICreatable, IScriptable, IExtendedProperties
[<SealedAttribute>]
[<PhysicalFacetAttribute>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
type PartitionFunction =  
    class
        inherit ScriptNameObjectBase
        interface IDroppable
        interface IAlterable
        interface ICreatable
        interface IScriptable
        interface IExtendedProperties
    end
public final class PartitionFunction extends ScriptNameObjectBase implements IDroppable, IAlterable, ICreatable, IScriptable, IExtendedProperties

説明

パーティション関数は、テーブルおよびインデックスを複数のファイル グループにパーティション分割するために使用されます。

PartitionFunction オブジェクトのプロパティを取得するには、固定サーバー ロール public のメンバでもかまいません。

PartitionFunction オブジェクトのプロパティを設定するには、データベースの ALTER 権限またはサーバーの ALTER ANY DATASPACE 権限を持っているか、固定データベース ロール db_owner または db_ddladmin のメンバか、固定サーバー ロール sysadmin のメンバである必要があります。

パーティション関数を作成または削除するには、データベースの ALTER 権限またはサーバーの ALTER ANY DATASPACE 権限を持っているか、固定データベース ロール db_owner または db_ddladmin のメンバか、固定サーバー ロール sysadmin のメンバである必要があります。

パーティション関数の値の範囲をマージまたは分割するには、データベースの ALTER 権限またはサーバーの ALTER ANY DATASPACE 権限を持っているか、固定データベース ロール db_owner または db_ddladmin のメンバか、固定サーバー ロール sysadmin のメンバである必要があります。

スレッド セーフ

この型の public static (Microsoft Visual Basic では Shared) のすべてのメンバーは、マルチスレッド操作で安全に使用できます。 インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

スレッド セーフ

この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。