Share via


DistributionSubscription.Script Method

This API supports the infrastructure and is not intended to be used directly from your code.

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

Syntax

'Declaration
Public Function Script ( _
    scriptOption As ScriptOptions _
) As String
'Usage
Dim instance As DistributionSubscription
Dim scriptOption As ScriptOptions
Dim returnValue As String

returnValue = instance.Script(scriptOption)
public string Script(
    ScriptOptions scriptOption
)
public:
String^ Script(
    ScriptOptions scriptOption
)
member Script : 
        scriptOption:ScriptOptions -> string 
public function Script(
    scriptOption : ScriptOptions
) : String

Parameters

Return Value

Type: System.String