다음을 통해 공유


Database 속성

Gets or sets the database on which the backup or restore operation runs.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.SmoExtended.dll의 Microsoft.SqlServer.SmoExtended

구문

‘선언
Public Property Database As String
    Get
    Set
‘사용 방법
Dim instance As BackupRestoreBase
Dim value As String

value = instance.Database

instance.Database = value
public string Database { get; set; }
public:
property String^ Database {
    String^ get ();
    void set (String^ value);
}
member Database : string with get, set
function get Database () : String
function set Database (value : String)

속성 값

형식: System. . :: . .String
A String value that contains the database name. By default, the value is an empty string.