The SnapshotJobID property returns a system-generated value uniquely identifying the SQL Server Agent job that is implementing initial snapshot-generation of published article data.
MergePublication Object | TransPublication Object |
object.SnapshotJobID
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
A SQL Server Agent job identifier is represented by 32 hexadecimal digits.
String
Read-only
HRESULT GetSnapshotJobID(SQLDMO_LPBSTR pRetVal);
Note SQL-DMO strings are always returned as OLE BSTR objects. A C/C++ application obtains a reference to the string. The application must release the reference by using SysFreeString.