Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Gets or sets the name of the partition function used in this partition scheme.
Cette API n'est pas conforme CLS.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<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
'Utilisation
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)
Valeur de propriété
Type : System.String
A String value that specifies the name of the partition function.
Exemples
Utilisation de fichiers ou de groupes de fichiers pour stocker des données
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo