Свойство AvailabilityGroupListener.PortNumber
Gets or sets the number of the port used to communicate with the availability group.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property PortNumber As Integer
Get
Set
'Применение
Dim instance As AvailabilityGroupListener
Dim value As Integer
value = instance.PortNumber
instance.PortNumber = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public int PortNumber { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property int PortNumber {
int get ();
void set (int value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member PortNumber : int with get, set
function get PortNumber () : int
function set PortNumber (value : int)
Значение свойства
Тип: System.Int32
The number of the port used to communicate with the availability group.