AvailabilityReplica.ServerName 屬性
Gets or sets the server name.
命名空間: Microsoft.SqlServer.TransactSql.ScriptDom
組件: Microsoft.SqlServer.TransactSql.ScriptDom (在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)
語法
'宣告
Public Property ServerName As StringLiteral
Get
Set
'用途
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)
屬性值
型別:Microsoft.SqlServer.TransactSql.ScriptDom.StringLiteral
The server name.