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 the name of the server where the backup was taken.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public ReadOnly Property ServerName As String
Get
'Usage
Dim instance As BackupSet
Dim value As String
value = instance.ServerName
public string ServerName { get; }
public:
property String^ ServerName {
String^ get ();
}
member ServerName : string
function get ServerName () : String
Property Value
Type: System.String
The name of the server.