Partager via


Propriété TransPublication.SnapshotAvailable

Gets whether or not the snapshot files for this publication are available for use.

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

Syntaxe

'Déclaration
Public ReadOnly Property SnapshotAvailable As Boolean 
    Get
'Utilisation
Dim instance As TransPublication 
Dim value As Boolean 

value = instance.SnapshotAvailable
public bool SnapshotAvailable { get; }
public:
property bool SnapshotAvailable {
    bool get ();
}
member SnapshotAvailable : bool
function get SnapshotAvailable () : boolean

Valeur de propriété

Type : System.Boolean
A Boolean value. If true, the snapshot files are available. If false, the snapshot files are not available.

Notes

The SnapshotAvailable property can only be retrieved by members of the sysadmin fixed server role at the Publisher, by members of the db_owner fixed database role on the publication database, or by users in the publication access list (PAL).

Retrieving the SnapshotAvailable property is equivalent to executing sp_helppublication.

Voir aussi

Référence

TransPublication Classe

Espace de noms Microsoft.SqlServer.Replication