Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the server name.
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Syntax
'Declaration
Public Property ServerName As StringLiteral
Get
Set
'Usage
Dim instance As AvailabilityReplica
Dim value As StringLiteral
value = instance.ServerName
instance.ServerName = value
public StringLiteral ServerName { get; set; }
public:
property StringLiteral^ ServerName {
StringLiteral^ get ();
void set (StringLiteral^ value);
}
member ServerName : StringLiteral with get, set
function get ServerName () : StringLiteral
function set ServerName (value : StringLiteral)
Property Value
Type: Microsoft.SqlServer.TransactSql.ScriptDom.StringLiteral
The server name.