AvailabilityGroupListener.PortNumber Propiedad
Gets or sets the number of the port used to communicate with the availability group.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property PortNumber As Integer
Get
Set
'Uso
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)
Valor de la propiedad
Tipo: System.Int32
The number of the port used to communicate with the availability group.