DistributionArticle.Script 메서드

Generates a Transact-SQL script that can be used to create or delete the article with the specified properties.

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Rmo(Microsoft.SqlServer.Rmo.dll)

public string Script(
	ScriptOptions scriptOption

매개 변수

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

반환 값

유형: System.String
A String value that is the script.

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