ServerNameHelper.ServerNameNoLocalOrDot 메서드
Replaces the local or dot symbols to the local machine name.
네임스페이스: Microsoft.SqlServer.Management.UI.ConnectionDlg
어셈블리: ConnectionDlg(ConnectionDlg.dll)
구문
‘선언
Public Shared Function ServerNameNoLocalOrDot ( _
originalName As String _
) As String
‘사용 방법
Dim originalName As String
Dim returnValue As String
returnValue = ServerNameHelper.ServerNameNoLocalOrDot(originalName)
public static string ServerNameNoLocalOrDot(
string originalName
)
public:
static String^ ServerNameNoLocalOrDot(
String^ originalName
)
static member ServerNameNoLocalOrDot :
originalName:string -> string
public static function ServerNameNoLocalOrDot(
originalName : String
) : String
매개 변수
- originalName
유형: System.String
The original string to return if the special cases are not present in the input string.
반환 값
유형: System.String
The local or dot symbols to the local machine name to replace.