ScriptGenerator.GenerateScript Yöntem (IScriptFragment, String%)
Bir komut dosyası kod parçasını oluşturur.
Ad alanı: Microsoft.Data.Schema.ScriptDom
Derleme: Microsoft.Data.Schema.ScriptDom (Microsoft.Data.Schema.ScriptDom.dll içinde)
Sözdizimi
'Bildirim
Public Sub GenerateScript ( _
scriptFragment As IScriptFragment, _
<OutAttribute> ByRef script As String _
)
public void GenerateScript(
IScriptFragment scriptFragment,
out string script
)
public:
void GenerateScript(
IScriptFragment^ scriptFragment,
[OutAttribute] String^% script
)
member GenerateScript :
scriptFragment:IScriptFragment *
script:string byref -> unit
public function GenerateScript(
scriptFragment : IScriptFragment,
script : String
)
Parametreler
- scriptFragment
Tür: Microsoft.Data.Schema.ScriptDom.IScriptFragment
Komut dosyası oluşturmak için kod parçası.
- script
Tür: System.String%
Oluşturulan komut dosyası.
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. kısmen güvenilir kod tarafından Kitaplıklar kullanma.