DistributionDatabase.Script 메서드

Generates a Transact-SQL script that can be used to create or delete the distribution database that the object represents.

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

public string Script(
	ScriptOptions scriptOption

매개 변수

유형: Microsoft.SqlServer.Replication.ScriptOptions
A ScriptOptions 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.

The Script method can be called by any user.

커뮤니티 추가 항목