Propriedade do RDL AvailabilityGroupListener.PortNumber
Gets or sets the number of the port used to communicate with the availability group.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
<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 da propriedade
Tipo: System.Int32
The number of the port used to communicate with the availability group.