Share via


PartitionScheme.PartitionFunction 속성

Gets or sets the name of the partition function used in this partition scheme.

이 API는 CLS 규격이 아닙니다. 

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<CLSCompliantAttribute(False)> _
<SfcReferenceAttribute(GetType(PartitionFunction), "Server[@Name = '{0}']/Database[@Name = '{1}']/PartitionFunction[@Name = '{2}']",  _
    )> _
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property PartitionFunction As String 
    Get 
    Set
‘사용 방법
Dim instance As PartitionScheme 
Dim value As String 

value = instance.PartitionFunction

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

속성 값

유형: System.String
A String value that specifies the name of the partition function.

파일 그룹 및 파일을 사용하여 데이터 저장

참고 항목

참조

PartitionScheme 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

CREATE PARTITION SCHEME(Transact-SQL)