共用方式為


MediaName 屬性

Gets or sets the name used to identify a particular media set.

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

語法

'宣告
Public Property MediaName As String
    Get
    Set
'用途
Dim instance As BackupRestoreBase
Dim value As String

value = instance.MediaName

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

屬性值

型別:System. . :: . .String
A String system value that specifies the media name. By default, the value is an empty string.