Поделиться через


Свойство 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)

Синтаксис

'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
<SfcReferenceAttribute(GetType(PartitionFunction), "Server[@Name = '{0}']/Database[@Name = '{1}']/PartitionFunction[@Name = '{2}']",  _
    )> _
<CLSCompliantAttribute(False)> _
Public Property PartitionFunction As String
    Get
    Set
'Применение
Dim instance As PartitionScheme
Dim value As String

value = instance.PartitionFunction

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