共用方式為


BackupSet.ServerName 屬性

Gets the name of the server where the backup was taken.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public ReadOnly Property ServerName As String 
    Get
'用途
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

屬性值

型別:System.String
The name of the server.

請參閱

參考

BackupSet 類別

Microsoft.SqlServer.Management.Smo 命名空間