Export (0) Print
Expand All

PullSubscription.Script Method

Returns a Transact-SQL script to create or delete the pull subscription based on the current property setting of the PullSubscription object.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

public string Script(
	ScriptOptions scriptOption


Type: Microsoft.SqlServer.Replication.ScriptOptions
A ScriptOptions object value that specifies the scripting options.

Return Value

Type: String
A String value that contains the Transact-SQL script.

The scriptOption parameter determines whether to return a creation script or a deletion script. This method can be used for an existing object or a new object.

Community Additions

© 2015 Microsoft