BackupSet.ServerName Property

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.

See Also

Reference

BackupSet Class

Microsoft.SqlServer.Management.Smo Namespace